#ifndef GOLDFISH_DRIVERS_H
#define GOLDFISH_DRIVERS_H

#define VIRQ_FB 14
/*
 * Commands to HYPERVISOR_driver_init().
 */
#define Driver_pdevbus_init         0
#define Driver_fb_init     1
#define Driver_fb_status   6
#define Driver_fb_fillrect 2
#define Driver_fb_copyarea 3
#define Driver_fb_imageblit 4
#define Driver_mmc_request  5
#define Driver_event_init  7 
#define Driver_timer_init  8


#define Android_vfp_fmrx 0
#define Android_vfp_fmxr 1

struct dev_info{
	uint32_t base;
	uint32_t irq;
	uint32_t irq_count;
	uint32_t io_size;
	int id;
	char name[28];
		};

struct fb_info_goldfish{
	uint32_t width;
	uint32_t height;
	uint32_t phys_width;
	uint32_t phys_height;
	uint32_t dma_base;
	uint32_t paddr;
	uint32_t dom_dma_base;
	uint32_t dom_paddr;
};

struct event_info{
	uint32_t type;
	uint32_t code;
	uint32_t value;
};
#endif
